<%-- 
    Document   : cuentaIngreso
    Created on : 13/11/2009, 03:20:31 PM
    Author     : FreddyHIQ
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<link href="/general/css/admin_1.css" rel="stylesheet" type="text/css"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<t:div>
    <h:panelGrid columns="1" styleClass="fondo012" width="100%">
        <h:outputLabel  value="Cuenta de Ingreso" />
    </h:panelGrid>

    <rich:listShuttle id="lstCuenta" sourceValue="#{tramiteController.cuentaIngresos}" sourceCaptionLabel="Cuenta de Ingreso"
    targetValue="#{tramiteController.cuentaIngresosAgregados}" var="item"
                      targetCaptionLabel="Pago de Tramite" copyAllControlLabel="Todos"
                      copyControlLabel="Agregar" removeAllControlLabel="Ninguno"
                      orderControlsVisible="false" fastOrderControlsVisible="false"
                      removeControlLabel="Quitar" sourceListWidth="220px" targetListWidth="220px">
        <rich:column width="90px">
            <f:facet name="header"><h:outputLabel value="Codigo"/></f:facet>
            <h:outputText value="#{item.cinCodigo}"></h:outputText>
        </rich:column>
        <rich:column width="70px">
            <f:facet name="header"><h:outputLabel value="Descripcion"/></f:facet>
            <h:outputText value="#{item.cinDesc}"></h:outputText>
        </rich:column>
    </rich:listShuttle>
    <div class="navPanel" style="width:100%;">
        <h:commandButton style="float:right" action="#{tramiteController.buscarTipDoc}" value="Next >>"/>
    </div>
</t:div>

